cmake_minimum_required (VERSION 2.8)

project ( payload )

set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MT")

set (srcs
dll_main.cpp
)

set (hdrs
#put your headers here
)

add_library ( ${PROJECT_NAME} SHARED ${hdrs} ${srcs} ${rsrc} main.def)

INSTALL( TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_PREFIX} COMPONENT ${PROJECT_NAME} )
